package mysql

import "gorm.io/gorm"

type Rate struct {
	gorm.Model
	UserId    int64  `gorm:"type:int(11);not null;comment:用户ID"`
	ProductId int64  `gorm:"type:int(11);not null;comment:商品ID"`
	Content   string `gorm:"type:varchar(100);not null;comment:评论内容"`
}
